package org.fog.spring;


import org.springframework.core.io.Resource;

/**
 * User: 缪凯
 * Date: 12-2-7
 * Time: 下午2:37
 */
public class SpringFCCBeanImp implements SpringFCCBean {
    private Resource[] configPaths = null;

    public void setConfigPath(Resource configPath) {
        this.configPaths = (configPath != null ? new Resource[]{configPath} : null);
    }

    public void setConfigPaths(Resource[] configPaths) {
        this.configPaths = configPaths;
    }

    public void setJsonMapPath(Resource mapPath) {
        //todo
    }

    public void setJsonMapPaths(Resource[] mapPaths) {
        //todo
    }

    public void setSqlMapPath(Resource mapPath) {
        //todo
    }

    public void setSqlMapPaths(Resource[] mapPaths) {
        //todo
    }


    //以下是需要实现的spring的方法
    public Object getObject() throws Exception {
        return null;  //todo
    }

    public Class<?> getObjectType() {
        return null;  //todo
    }

    public boolean isSingleton() {
        return false;  //todo
    }

    public void afterPropertiesSet() throws Exception {
        //todo
    }
}
